<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../js/jquery-3.3.1.min.js" ></script>
		<script>
			$(function(){
				$("div a[class]").css("background-color","red");
				$("div a[href='#']").css("border","5px solid red");
				$("div a:not([class='ff'])").css("font-size","60px");
			});
		</script>
	</head>
	<body>
		<div>
			<a href="#">空链接</a>
			<a href="https://www.taobao.com">taobao</a>
			<a href="http://www.jd.com">京东</a>
			
			<a href="#" class="ff">空链接</a>
			
			<a href="#">空链接</a>
		</div>
	</body>
</html>
